<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>v-for指令</title>
</head>
<body>

<div id="app">
    <ul>
        <li v-for="(value,key,index) in user">
            {{index}}-{{key}}:{{value}}
        </li>
    </ul>
</div>
<script src="../../vue.min.js"></script>
<script>
    var app = new Vue({
        el: "#app",
        data: {
            user: {
                name: 'Aresn',
                gender: '男',
                age: 26
            }
        }
    })
</script>
</body>
</html>